﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YbxLibrary.entity.indata
{
    public class T2201in
    {
        public static String JYBH = "2201";
        public T2201in()
        {

        }
        public T2201in(String psn_no, String insutype, String begntime, String mdtrt_cert_type, String mdtrt_cert_no, String ipt_otp_no, String atddr_no, String dr_name, String dept_code, String dept_name, String caty)
        {
            this.data = new Data(psn_no, insutype, begntime, mdtrt_cert_type, mdtrt_cert_no, ipt_otp_no, atddr_no, dr_name, dept_code, dept_name, caty);
        }
        public Data data { set; get; }
        public class Data
        {
            public Data()
            {

            }
            public Data(String psn_no, String insutype, String begntime, String mdtrt_cert_type, String mdtrt_cert_no, String ipt_otp_no, String atddr_no, String dr_name, String dept_code, String dept_name, String caty)
            {
                this.psn_no = psn_no;
                this.insutype = insutype;
                this.begntime = begntime;
                this.mdtrt_cert_type = mdtrt_cert_type;
                this.mdtrt_cert_no = mdtrt_cert_no;
                this.ipt_otp_no = ipt_otp_no;
                this.atddr_no = atddr_no;
                this.dr_name = dr_name;
                this.dept_code = dept_code;
                this.dept_name = dept_name;
                this.caty = caty;
            }
            /// <summary>
            /// 人员编号
            /// </summary>
            public string psn_no { get; set; } 

            /// <summary>
            /// 险种类型
            /// </summary>
            public string insutype { get; set; } 

            /// <summary>
            /// 开始时间
            /// </summary>
            public string begntime { get; set; } 

            /// <summary>
            /// 就诊凭证类型
            /// </summary>
            public string mdtrt_cert_type { get; set; } 

            /// <summary>
            /// 就诊凭证编号
            /// </summary>
            public string mdtrt_cert_no { get; set; } 

            /// <summary>
            /// 住院/门诊号
            /// </summary>
            public string ipt_otp_no { get; set; } 

            /// <summary>
            /// 医师编码
            /// </summary>
            public string atddr_no { get; set; } 

            /// <summary>
            /// 医师姓名
            /// </summary>
            public string dr_name { get; set; } 

            /// <summary>
            /// 科室编码
            /// </summary>
            public string dept_code { get; set; } 

            /// <summary>
            /// 科室名称
            /// </summary>
            public string dept_name { get; set; } 

            /// <summary>
            /// 科别
            /// </summary>
            public string caty { get; set; } 

            /// <summary>
            /// 字段扩展
            /// </summary>
            public string exp_content { get; set; } 
        }
    }
}
